package com.it135.citytraffic.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Survey {

    public static String QUESTION_ONE = "您对城市交通管理还有哪些建议？";
    public static String QUESTION_TWO = "您认为如何才能更好地缓解交通拥堵问题？";

    public static List<String> wordList = List.of("管理","分流","停车","道路","路线"
            ,"公共交通","绿色出行","遵守","红绿灯");

    private int id; //主键ID
    private int surveyId; //问卷序号
    private String name; //用户名
    private String question; //问题序号
    private String answer; //回答
    private LocalDateTime createTime; //问卷填写时间
}
